package com.topfinance.cnaps2.ebo;

// Generated 2009-6-19 13:56:29 by Hibernate Tools 3.2.2.GA

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

/**
 * SysDepartment generated by hbm2java
 */
@Entity
@Table(name = "T_CONF_TRANSPORT")
public class ConfTransportEbo implements java.io.Serializable {

	//oid	����	integer
	private Integer uid;

	//provider	�ṩ����	varchar2(200)
	private String provider;

	//prefix	ǰ׺	varchar2(40)
	private String prefix;

	//name	���	varchar2(40)
	private String name;
	
	//class_name	实现类	varchar2(200)
	private String className;

	//broker_url	����˿�	varchar2(100)
	private String brokerUrl;

	public ConfTransportEbo() {
	}

	@Id
	@Column(name = "OID", unique = true, nullable = false)
	@SequenceGenerator(name = "CONF_TRANSPORT_GEN", sequenceName = "S_CONF_TRANSPORT")
	@GeneratedValue(strategy = GenerationType.AUTO, generator = "CONF_TRANSPORT_GEN")
    public Integer getUid() {
        return this.uid;
    }
    public void setUid(Integer uid) {
        this.uid = uid;
    }

	@Column(name = "PROVIDER")
	public String getProvider() {
		return this.provider;
	}

	public void setProvider(String provider) {
		this.provider = provider;
	}

	@Column(name = "PREFIX")
	public String getPrefix() {
		return this.prefix;
	}

	public void setPrefix(String prefix) {
		this.prefix = prefix;
	}

	@Column(name = "NAME")
	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name = "CLASS_NAME")
	public String getClassName() {
		return this.className;
	}

	public void setClassName(String className) {
		this.className = className;
	}

	@Column(name = "BROKER_URL")
	public String getBrokerUrl() {
		if (brokerUrl == null)
			return "";
		return brokerUrl;
	}
	public void setBrokerUrl(String brokerUrl) {
		this.brokerUrl = brokerUrl;
	}

}
